package com.captjack.micro.service.article;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchAutoConfiguration;
import org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchDataAutoConfiguration;
import org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchRepositoriesAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * article micro service
 *
 * @author Capt Jack
 * @date 2018/6/20
 */
@SpringBootApplication
@EnableAutoConfiguration(exclude = {ElasticsearchAutoConfiguration.class, ElasticsearchDataAutoConfiguration.class, ElasticsearchRepositoriesAutoConfiguration.class})
@ComponentScan(basePackages = {"com.captjack.micro.dao.es", "com.captjack.micro.service.article"})
public class ArticleMicroServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ArticleMicroServiceApplication.class, args);
    }

}
